package top.zsyle.basic.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LoginDto {
    @NotBlank(message = "账户不能为空")
    private String account;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotNull(message = "type不能为空")
    private Integer type;
}
